package com.xxl.job.admin;

/**
 * @Author fanchunshuai
 * @Description 测试场景需要的变量
 * @Date 2023/3/3
 * @Version 1.0
 */
public class Constant {

    public static final String CRON = "CRON";

    public static final String AUTHOR = "XXL-JOB";

    public static final String EXECUTOR_SAMPLE_SPRING_BOOT = "xxl-job-executor-sample";

    public static final Long EXECUTOR_SAMPLE_SPRING_BOOT_JOB_GROUP_ID = 1L;

    public static final String demoJobHandler = "demoJobHandler";

    /**
     * 生命周期任务示例：任务初始化与销毁时，支持自定义相关逻辑；
     */
    public static final String demoJobHandler2 = "demoJobHandler2";

    public static final String demoJobHandler4 = "demoJobHandler4";

    public static final String shardingJobHandler = "shardingJobHandler";

    /**
     * 随机执行时间1-2秒的任务
     */
    public static final String exeJobHandler = "exeJobHandler";



    public static final String CRON_SECOND_0 = "* * * * * ?";

    public static final String CRON_SECOND_2 = "0/2 * * * * ?";

    public static final String CRON_SECOND_4 = "0/4 * * * * ?";

    public static final String CRON_SECOND_5 = "0/5 * * * * ?";

    public static final String CRON_SECOND_9 = "0/9 * * * * ?";

    public static final String CRON_SECOND_7 = "0/7 * * * * ?";



}
